import java.io.Serializable;
import java.util.Date;

public class Order implements Serializable {
    int id;
    int userId;
    int movieId;
    int scheduleId;
    int seatId;
    Date orderTime;
    double totalPrice;
    String status;

    Order(int id, int userId, int movieId, int scheduleId, int seatId, Date orderTime, double totalPrice, String status) {
        this.id = id;
        this.userId = userId;
        this.movieId = movieId;
        this.scheduleId = scheduleId;
        this.seatId = seatId;
        this.orderTime = orderTime;
        this.totalPrice = totalPrice;
        this.status = status;
    }
}